<template>
	<view class="up_data">
		<up-data :data="data" :flag="flag" :minTxt="text" :step="2" :url="url"></up-data>
	</view>
</template>

<script>
	import upData from '@/components/upData.vue';
	export default {
		components: {
			upData
		},
		data() {
			return {
				data: '已完成订单！',
				text: '同时客户订单页面显示（已签收）状态',
				flag: 'c1',
				url: '/pages/filePages/administration/administration'
			}
		},
		onLoad(options) {
			// 修改价格
			if(options.type==1){
				this.data = '修改成功！'
				this.text = '';
				// this.url = options.url ? options.url : '';
			}
			// 填写物流
			if(options.type==2){
				this.data = '发货成功！'
				this.text = '';
			}
		}
	}
</script>

<style scoped lang="scss">
</style>
